package com.medic.service.interf;

public interface ServiceInterface<T> {
	/**
	 * 保存对象
	 * @param object
	 * @return 返回是否成功
	 * @throws Exception
	 */
	public boolean save(T object) throws Exception;

	/**
	 * 删除对象
	 * @param object
	 * @return 是否成功
	 * @throws Exception
	 */
	public boolean delete(T object) throws Exception;

	/**
	 * 更新对象
	 * @param object
	 * @return 是否成功
	 * @throws Exception
	 */
	public boolean update(T object) throws Exception;
}
